package mysql

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	TopicName string `gorm:"type:varchar(255);not null;comment:话题名称"`
	TopicInfo string `gorm:"type:text;comment:话题描述"`
	HotLevel  int64  `gorm:"type:int(11);default:0;not null;comment:话题热度"`
}
